package main 
{
	import assists.Lang;
	import assists.URI;
	import assists.resource.ResourceLoader;
	
	import views.ViewLayout;

	/**
	 * ...
	 * @author clouree
	 */
	public class ViewBase  extends SuperBase
	{
		private var _layout:ViewLayout;
		private var _dataManager:DataManager;
		private var _resourceLoader:ResourceLoader;
		private var _lang:Lang;
		private var _uri:URI;
		private var _localStore:LocalStoreInfo;
		
		public function ViewBase() 
		{
			
		}
		
		public function init(data:DataManager,layout:ViewLayout,lang:Lang,resourceLoader:ResourceLoader,uri:URI):void
		{
			_dataManager = data;
			_layout = layout;
			_lang = lang;
			_resourceLoader = resourceLoader;
			_uri = uri;
		}
		
		
		public function get dataManager():DataManager
		{
			return _dataManager;
		}
		
		public function get layout():ViewLayout
		{
			return _layout;
		}
		
		public function get resourceLoader():ResourceLoader
		{
			return _resourceLoader;
		}
		
		public function get lang():Lang
		{
			return _lang;
		}
		
		public function get uri():URI
		{
			return _uri;
		}
	}

}